<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>layui</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="/components/layui/css/layui.css" media="all">
<!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 20px;">
		<legend>用户注册</legend>
	</fieldset>

	<div class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
				<input type="text" name="userName" lay-verify="required|userName"
					autocomplete="off" placeholder="请输入用户名, 用于登录, 必须由数字、字母、下划线组成，长度为6~16位" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-block">
				<input id="userPass" type="password" name="userPass" lay-verify="required|userPass"
					autocomplete="off" placeholder="请输入密码, 不能有空格, 长度6~16位" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-block">
				<input type="password" name="userPassword" lay-verify="required|userPassword"
					autocomplete="off" placeholder="请再次输入密码, 必须和上次输入的密码一致" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">邮件地址</label>
			<div class="layui-input-block">
				<input type="email" name="userMail" lay-verify="required|email|userMail"
					autocomplete="off" placeholder="请输入邮件地址, 方便账号找回" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="userForm">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</div>
	<script src="/components/jquery/jquery.min.js" charset="utf-8"></script>
	<script src="/components/layui/layui.js" charset="utf-8"></script>
	<script src="/modules/user/user-register.js" charset="utf-8"></script>
</body>
</html>